package com.atguigu.lease.web.app.service.impl;

import com.atguigu.lease.model.entity.LabelInfo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.lease.model.entity.RoomLabel;
import com.atguigu.lease.web.app.service.RoomLabelService;
import com.atguigu.lease.web.app.mapper.RoomLabelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
* @author liubo
* @description 针对表【room_label(房间&标签关联表)】的数据库操作Service实现
* @createDate 2023-07-26 11:12:39
*/
@Service
public class RoomLabelServiceImpl extends ServiceImpl<RoomLabelMapper, RoomLabel>
    implements RoomLabelService{

    @Autowired
    private RoomLabelMapper roomLabelMapper;
    @Override
    public List<LabelInfo> getLableInfoListByRoomId(Long roomId) {
        return roomLabelMapper.getLableInfoListByRoomId(roomId);
    }
}




